<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
  </head>
  <body class="javascriptOff <?php include_slot('bodyClass') ?>">
    <script type="text/javascript">
      //<![CDATA[
        (function(){
          var body = document.getElementsByTagName("body")[0],
            bodyClassName = body.className.split(" "),
            bodyFinalClassName = []
            ;
          for (var i = bodyClassName.length - 1; i >= 0; i--){
            if (0 < bodyClassName[i].length && "javascriptOff" !== bodyClassName[i])
            {
              bodyFinalClassName[bodyFinalClassName.length] = bodyClassName[i];
            }
          }
          body.className = bodyFinalClassName.join(" ");
        })();
      //]]>
    </script>
    <div class="wrapAll">
      <div class="header">
        <p class="goToHome"><a href="<?php echo url_for('@homepage') ?>"><img alt="Symfony-check" src="/images/logo.png" width="210" height="63" /></a></p>
        <h1>
          Check <span>if your symfony application</span> <span>is ready</span> <span>for deployment</span>
        </h1>
        <p class="uiStudioLink">
          <a href="http://ui-studio.fr" title="Made by UI Studio">
            <img alt="UI Studio" src="/images/cui.png" width="293" height="166" />
          </a>
        </p>
        <div class="headerEnd"></div>
      </div>
      <noscript>
        <div class="javascriptOff">
          <h1>Javascript is disabled on your browser</h1>
          <p>For your comfort, turn it on and refresh the page.</p>
        </div>
      </noscript>
      <div class="body">
        <?php if ($sf_user->isAuthenticated()): ?>
          <div class="admin">
            <p class="user">
              You're logged in as <?php echo $sf_user ?>
              | <?php echo link_to('logout', 'sfGuardAuth/signout', array('class' => 'admin')) ?>
            </p>
            <ul>
              <li>
                <a href="<?php echo url_for('@todo') ?>">Todos</a>
              </li>
              <li>
                <a href="<?php echo url_for('@tag') ?>">Tags</a>
              </li>
              <li>
                <a href="<?php echo url_for('@sf_guard_user') ?>">Users</a>
              </li>
            </ul>
          </div>
        <?php endif ?>
        <?php echo $sf_content ?>
      </div>
      <div class="footer">
        <p class="madeBy">
          <em>
            Powered by <a href="http://www.jqueryui.com">jQuery UI</a>
            and <a href="http://www.symfony-project.org">symfony</a>.
          </em>
          <strong>
            symfony check is an <a href="http://ui-studio.fr">UI Studio</a> creation
          </strong>
        </p>
        <p class="uiStudioLink">
          <a href="http://ui-studio.fr" title="Made by UI Studio, Illustrations by Pierre Brillault">
            <?php include_component('default', 'illustration') ?>
          </a>
        </p>
        <div class="legals">
          <p>The content this site is published under a <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons License</a>. Some parts of the content are a remix of the official <a href="http://www.symfony-project.org/doc/1_2/">symfony documentation</a>.</p>
          <p>Illustrations drawned by the talented <a class="brillault" href="http://a-cui-a-day.blogspot.com">Pierre Brillault</a>, all rights reserved.</p>
        </div>
      </div>
    </div>
    <?php include_javascripts() ?>
  </body>
</html>